# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Subnet(object):

    def __init__(self, region=None, az=None, subnetId=None, name=None, cidr=None, vpcId=None, vpcName=None, availableIpCount=None, totalIpCount=None, networkType=None, description=None, createTime=None):
        """
        :param region: (Optional) 地域代码, 如cn-east-tz1
        :param az: (Optional) 可用区, 如cn-east-tz1a
        :param subnetId: (Optional) 子网ID
        :param name: (Optional) 子网名称
        :param cidr: (Optional) 子网CIDR
        :param vpcId: (Optional) 私有网络Id
        :param vpcName: (Optional) 私有网络名称
        :param availableIpCount: (Optional) 可用ip数量
        :param totalIpCount: (Optional) 总ip数量
        :param networkType: (Optional) 网络类型
        :param description: (Optional) 描述
        :param createTime: (Optional) 创建时间
        """

        self.region = region
        self.az = az
        self.subnetId = subnetId
        self.name = name
        self.cidr = cidr
        self.vpcId = vpcId
        self.vpcName = vpcName
        self.availableIpCount = availableIpCount
        self.totalIpCount = totalIpCount
        self.networkType = networkType
        self.description = description
        self.createTime = createTime
